package cn.good.yan.k2.t2;

/**
 * k2 lambda 表达式  2
 *      测试
 * @author shengren.yan
 * @create 2022-08-16
 */
public class testRun {
    public static void main(String[] args) {
        // 1
        lam1 l1 = ()-> {System.out.println("第一个");};
        l1.get();

        // 2
        lam2 l2 = (a, b) -> a + b + "";
        String s = l2.get(1, 2);
        System.out.println(s);
    }
}
